package cc.aaa;

/**
 * @author ${崔灿}
 * @date 2022/10/25 17:36
 **/

public class Demo06 {
    public static void main(String[] args) {
        Integer fun = fun(15);
        String hello = fun("hello");
    }

    //泛型方法
    public static<T> T fun(T t) {
        System.out.println("---"+t);
        return t;
    }
}
